home *** CD-ROM | disk | FTP | other *** search
/ Programming Windows 95 with MFC / Programming Windows 95 with MFC (Microsoft Programming Series)(097-0001465)(1996).iso / NT / CODE / CHAP14 / MTDEMO / MTDEMO.RC < prev    next >
Encoding:
Text File  |  1996-04-05  |  1.1 KB  |  40 lines

  1. //***********************************************************************
  2. //
  3. //  MTDemo.rc
  4. //
  5. //***********************************************************************
  6.  
  7. #include <afxres.h>
  8. #include "Resource.h"
  9.  
  10. IDR_MAINFRAME MENU
  11. BEGIN
  12.     POPUP "&File" {
  13.         MENUITEM "&Open...\tCtrl+O",        ID_FILE_OPEN
  14.         MENUITEM SEPARATOR
  15.         MENUITEM "Recent File",             ID_FILE_MRU_FILE1
  16.         MENUITEM SEPARATOR
  17.         MENUITEM "E&xit",                   ID_APP_EXIT
  18.     }
  19.     POPUP "&Effects" {
  20.         MENUITEM "Convert to &Gray Scale",  ID_EFFECTS_GRAY_SCALE
  21.     }
  22.     POPUP "&View" {
  23.         MENUITEM "&Status Bar",             ID_VIEW_STATUS_BAR
  24.     }
  25. END
  26.  
  27. IDR_MAINFRAME ACCELERATORS
  28. BEGIN
  29.     "O", ID_FILE_OPEN,  VIRTKEY, CONTROL
  30. END
  31.  
  32. STRINGTABLE
  33. BEGIN
  34.     AFX_IDS_IDLEMESSAGE     "Ready"
  35.     ID_EFFECTS_GRAY_SCALE   "Convert colors to shades of gray"
  36.     IDR_MAINFRAME           "MTDemo\n\n\nBMP Files (*.bmp)\n.bmp"
  37.     ID_APP_EXIT             "Quit the application"
  38.     AFX_IDS_SCCLOSE         "Quit the application"
  39. END
  40.